package com.bzkj.msfx.domain.relationMsfx;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;

import java.util.List;

/**
 * @author C1309
 * @ClassName Relation
 * @description: TODO 生成xml的Relation节点
 * @date 2023年10月19日
 * @version: 1.0
 */
public class RelationXml {

    @JacksonXmlProperty(localName = "Batch")
    @JacksonXmlElementWrapper(useWrapping = false)
    private List<BatchRelation> batch;

    @JacksonXmlProperty(isAttribute = true)
    private String productCode;

    @JacksonXmlProperty(isAttribute = true)
    private String subTypeNo;

    @JacksonXmlProperty(isAttribute = true)
    private String cascade;

    @JacksonXmlProperty(isAttribute = true)
    private String packageSpec;

    @JacksonXmlProperty(isAttribute = true)
    private String comment;

//    @JacksonXmlProperty(isAttribute = true)
//    private String drugType;


    public List<BatchRelation> getBatch() {
        return batch;
    }

    public void setBatch(List<BatchRelation> batch) {
        this.batch = batch;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getSubTypeNo() {
        return subTypeNo;
    }

    public void setSubTypeNo(String subTypeNo) {
        this.subTypeNo = subTypeNo;
    }

    public String getCascade() {
        return cascade;
    }

    public void setCascade(String cascade) {
        this.cascade = cascade;
    }

    public String getPackageSpec() {
        return packageSpec;
    }

    public void setPackageSpec(String packageSpec) {
        this.packageSpec = packageSpec;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }
}